<!DOCTYPE html>
<html>

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
  <title>no Identify with Popup</title>

  <link rel="stylesheet" href="https://js.arcgis.com/3.13/esri/css/esri.css">
  <style>
    html,
    body,
    #map {
      height: 100%;
      width: 100%;
      margin: 0;
      padding: 0;
    }
  </style>

  <script src="https://js.arcgis.com/3.13/"></script>
  <script>
    var map;

    require([
      "esri/map",
      "esri/InfoTemplate",
      "esri/layers/ArcGISDynamicMapServiceLayer",
      "esri/layers/ArcGISTiledMapServiceLayer",
      "esri/symbols/SimpleFillSymbol",
      "esri/symbols/SimpleLineSymbol",
      "esri/tasks/IdentifyTask",
      "esri/tasks/IdentifyParameters",
      "esri/dijit/Popup",
      "dojo/_base/array",
      "esri/Color",
      "dojo/dom-construct",
      "dojo/domReady!"
    ], function (
      Map, InfoTemplate, ArcGISDynamicMapServiceLayer, ArcGISTiledMapServiceLayer, SimpleFillSymbol,
      SimpleLineSymbol, IdentifyTask, IdentifyParameters, Popup,
      arrayUtils, Color, domConstruct
    ) {

        var identifyTask, identifyParams;

        var popup = new Popup({
          fillSymbol: new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID,
            new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID,
              new Color([255, 0, 0]), 2), new Color([255, 255, 0, 0.25]))
        }, domConstruct.create("div"));

        map = new Map("map", {
          // basemap: "satellite",
          // center: [-83.275, 42.573],
          // zoom: 18,
          // infoWindow: popup
        });
        var infoTemplates = {
          0: {
            infoTemplate: new InfoTemplate(),
            layerUrl: false
          },
          2: {
            infoTemplate: new InfoTemplate(),
            layerUrl: false
          }
        };
        // 增加底图
        map.addLayer(new ArcGISTiledMapServiceLayer("http://222.92.185.58:28080/OneMapServer/rest/services/06DZDT/MapServer",
          {
            opacity: 0.55,
            "infoTemplates": infoTemplates
          }));

        // var parcelsURL = "https://sampleserver3.arcgisonline.com/ArcGIS/rest/services/BloomfieldHillsMichigan/Parcels/MapServer";
        var parcelsURL = "http://222.92.185.58:28080/OneMapServer/rest/services/03grids/MapServer";
        map.addLayer(new ArcGISDynamicMapServiceLayer(parcelsURL,
          {
            opacity: 0.55,
            "infoTemplates": infoTemplates
          }));

        map.addLayer(new ArcGISDynamicMapServiceLayer("http://222.92.185.58:28080/OneMapServer/rest/services/06poi/MapServer",
          {
            opacity: 0.55,
            "infoTemplates": infoTemplates
          }));

      });
  </script>
</head>

<body>
  <div id="map"></div>
</body>

</html>